import Vue from 'vue'
import App from './App.vue'
import router from "./router"
import store from './store'
import './registerServiceWorker'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';  // elementui样式 
Vue.use(ElementUI) 

Vue.config.productionTip = false
console.log("这是 项目的 主文件入口 ");

// import Demo from "@/components/Demo.vue";
// Vue.component("Demo",Demo); // 全局注册的组件

// import "lib-flexible" // 淘宝适配

import "@/assets/styles/index.scss"; // 全局的样式 

import {axios} from "@/utils/axios"
Vue.prototype.$axios = axios;  // this.$axios = axios;

import "@/utils/golbal"

new Vue({
  router,  // 挂载到根实例 
  store,
  render: h => h(App)  // 将APP组件当做根组件挂载到 div#app
}).$mount('#app')
